#ifndef TCV_MEASURE_H
#define TCV_MEASURE_H

#include <QObject>

#include <opencv.hpp>
//#include <opencv2/core.hpp>
//#include <opencv2/highgui.hpp>
//#include <opencv2/video.hpp>
//#include <opencv2/videoio.hpp>
//#include <opencv2/flann.hpp>
//#include <opencv2/imgcodecs.hpp>
//#include <opencv2/imgproc.hpp>
//#include <opencv2/ml.hpp>

class TCV_MeasureHandle
{
public:
    TCV_MeasureHandle(cv::Mat picture_left, cv::Mat picture_right);
    int MeasureDistance(int Height, cv::Vec3f &o_distance);
    cv::Mat GetMeasureResult(void);
private:
    cv::Mat m_pictureLeft,m_pictureRight,m_measureOutput;
};

#endif // TCV_MEASURE_H
